package com.gujia.designpattern;

public class Test1 {


    public void example(){
        System.out.println("example");
    }


    public static void main(String[] args) {
        CglibProxy proxy = new CglibProxy();
        Test1 t = (Test1)proxy.getProxy(Test1.class);
        String filename = System.getProperty("user.dir");
        System.out.println(filename);
        t.example();
    }
}
